﻿using Common.Data.Extensions;
using Warranty.Configuration;
using Warranty.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warranty.Data.DBConfig
{
    public class ResponseSMSConfiguration : DBConfig<ResponseSMS>
    {
        public ResponseSMSConfiguration()
            : base(SystemConfiguration.Schema, SystemConfiguration.NamingType, SystemConfiguration.TABLE_PREFIX)
        {
            HasKey(k => k.RespType);
            Property(c => c.CreateDate).IsRequired();
        }
    }
}
